package com.aiti.lulian.vo;

import com.aiti.lulian.converter.BusinessTypeConverter;
import com.aiti.lulian.converter.ProcessStatusConverter;
import com.aiti.lulian.workflow.ProcessStatus;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ShowRecordAuditExportVo {


    /**
     * 业务类型：0-模板
     */
    @ExcelProperty(value = "审核内容",converter = BusinessTypeConverter.class)
    private String businessType;

    /**
     * 状态：'RUNNING', 'COMPLETED', 'TERMINATED', 'SUSPENDED','SUBMITTED','REJECTED'
     */

    @ExcelProperty(value = "状态",converter = ProcessStatusConverter.class)
    private ProcessStatus status;


    @ExcelProperty(value = "提交时间", format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date baseCreateTime;


    @ExcelProperty("提交人")
    private String creatorName;



}
